package com.demo.web.admin.form.code;

public enum FormRespCode {
	
	FAIL(-99,"处理失败"),
	SUCCESS(1000,"处理成功"),
	REDIRECT(1001,"重定向"),
	NO_AUTHEN(1002,"请先登录"),
	NO_AUTHOR(1003,"您无权进行此项操作"),
	USER_EXIT(1004,"用户存在"),
	YZM_FAIL(1005,"验证码无效"),
	USER_NOT_EXIT(1006,"用户不存在"),
	USER_PW_ERROR(1007,"密码错误"),
	USER_PW_ERROR_TIMES(1008,"密码错误次数超限，10分钟后再试");
	
	FormRespCode(){
	}
	FormRespCode(int code,String message){
		this.message = message;
		this.code = code;
	}
	int code;
	String message;
	public int getCode() {
		return code;
	}
	public String getMessage() {
		return message;
	}
}
